package com.crk.shixiguanli.service;

import com.crk.shixiguanli.entity.College;
import com.crk.shixiguanli.util.Page;
import com.crk.shixiguanli.util.ResponseResult;

/**
 * Description:
 *
 * @author:
 * Date: 2020-04-03
 * Time: 16:04
 */
public interface CollegeService {
    /**
     * 分页查询所有院系
     * @param page 分页参数
     * @return
     */
    public ResponseResult queryCollegePage(Page page);

    public ResponseResult queryCollege();

    public ResponseResult getCollege(Integer id);

    public ResponseResult saveCollege(College college);

    public ResponseResult deleteCollege(Integer id);

    public ResponseResult getCollegeByName(String collegeName);
}
